package com.fsoft.manager.shiro;

import java.io.Serializable;

import org.apache.shiro.session.Session;
import org.apache.shiro.session.mgt.eis.SessionIdGenerator;

import com.fsoft.core.utils.OgnlUtils;

public class UuidSessionIdGenerator implements SessionIdGenerator {

	@Override
	public Serializable generateId(Session session) {
		return OgnlUtils.randomLowerCaseId();
	}

}
